package cn.wolfcode.domain;

import com.alibaba.fastjson.JSON;
import lombok.Data;

@Data
public class SystemDictionaryItem {
    /** 主键*/
    private Long id;

    /** 标题*/
    private String title;

    /** 序号*/
    private Integer sequence;

    /** 所属目录*/
    private Long typeId;

    /** 上级明细*/
    private SystemDictionaryItem parent;

    private Long parentId;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}